/*
关卡配置类
*/
cc.Class({
    extends: cc.Component,

	ctor: function (game) {
		console.log("config init ... ");
		
		//玩家移动单元像素
		this.step = 1;
		
		//玩家移动配置
		this.moveConf = {
			"37":{playName:"roleL",x:-this.step,y:0},
			"40":{playName:"roleD",x:0,y:this.step},
			"38":{playName:"roleU",x:0,y:-this.step},
			"39":{playName:"roleR",x:this.step,y:0},
		};
		
		//怪物类型配置
		this.monstorConf = [
			
			//0-10
			{ani:"slam1",name:"小红",skill:"",mhp:45,mac:20,mde:2,gold:2},
			{ani:"bat1",name:"小蝙",skill:"",mhp:35,mac:38,mde:3,gold:3},
			{ani:"wuke1",name:"嘻哈吴克",skill:"",mhp:50,mac:32,mde:6,gold:5},
			{ani:"playerD",name:"带刀吴克",skill:"",mhp:55,mac:42,mde:8,gold:6},
			{ani:"wuke2",name:"黄金吴克",skill:"",mhp:60,mac:52,mde:12,gold:8},
			{ani:"wuzei",name:"大头",skill:"",mhp:100,mac:65,mde:15,scale:0.9,extra:[[0,1]],gold:30},
			
			
			//11-20
			{ani:"slam2",name:"小黑",skill:"",mhp:130,mac:60,mde:3,gold:8},
			{ani:"bat2",name:"大蝙",skill:"",mhp:60,mac:120,mde:8,gold:12},
			{ani:"lang1",name:"舔狗",skill:"",mhp:260,mac:85,mde:5,weak:"tenAble",gold:18},
			{ani:"lang2",name:"添狗战士",skill:"",mhp:320,mac:120,mde:15,weak:"tenAble",gold:30},
			{ani:"youling",name:"魂",skill:"",mhp:300,mac:180,mde:60,weak:"tenAble",gold:40},
			{ani:"fashi",name:"五一反",skill:"",mhp:500,mac:200,mde:100,weak:"tenAble",gold:144},
			
			
			//21-30  12-16 
			{ani:"bat3",name:"红蝙",skill:"",mhp:100,mac:500,mde:80,gold:55},
			{ani:"slam",name:"皇冠史莱姆",skill:"",mhp:100,mac:220,mde:100,gold:50},
			{ani:"wuke3",name:"战斗吴克",skill:"",mhp:220,mac:250,mde:150,gold:35},
			{ani:"wuke4",name:"假面吴克",skill:"",mhp:210,mac:280,mde:150,gold:45},
			{ani:"wuke5",name:"黑吴克",skill:"",mhp:300,mac:300,mde:200,gold:65},
			
			{ani:"stone",name:"呆皮",skill:"",mhp:10,mac:1000,mde:240,gold:1},

			{ani:"dragon",name:"王晶",skill:"",mhp:1500,mac:600,mde:500,scale:0.9,extra:[[0,1]],gold:1},
			{ani:"devil",name:"大魔王",skill:"",mhp:2000,mac:1000,mde:1000,weak:"godAble",isboss:1,gold:1},
			
		];
		
		//npc类型配置
		this.helperConf = [
			{ani:"oldman",name:"老人"},
			{ani:"princess",name:"公主"},
			{ani:"oldman2",name:"商人"},
			{ani:"cuanpu",name:"产品"},
			{ani:"sanpang",name:"视频"},
			{ani:"pujin",name:"平居"}
		];
		
		//门配置
		this.doorConf = [
			{ani:"doorYopen",name:"黄门",key:"keyNmbY",prefab:"doorYPrefab"},
			{ani:"dooropen",name:"蓝门",key:"keyNmb",prefab:"doorPrefab"},
			{ani:"doorGopen",name:"绿门",key:"keyNmbR",prefab:"doorGPrefab"},
		];
		
		//道具配置
		this.itemConf = {
			"10":{name:"铁剑",attack:10,prefab:"swordPrefab"},
			"11":{name:"神圣剑",attack:50,prefab:"sword5Prefab"},
			"12":{name:"骑士剑",attack:30,prefab:"sword3Prefab"},
			"20":{name:"铁盾",defends:10,prefab:"dunPrefab"},
			"21":{name:"神圣盾",defends:50,prefab:"dun5Prefab"},
			"22":{name:"骑士盾",defends:30,prefab:"dun3Prefab"},
			"30":{name:"黄钥匙",keyNmbY:1,prefab:"keyYPrefab"},
			"31":{name:"蓝钥匙",keyNmb:1,prefab:"keyPrefab"},
			"32":{name:"绿钥匙",keyNmbR:1,prefab:"keyGPrefab"},
			
			
			"40":{name:"小血瓶",hp:100,prefab:"bottlePrefab"},
			"41":{name:"大血瓶",hp:200,prefab:"bottle2Prefab"},
			"42":{name:"小血瓶",hp:150,prefab:"bottlePrefab"},
			"43":{name:"大血瓶",hp:300,prefab:"bottle2Prefab"},
			"44":{name:"小血瓶",hp:200,prefab:"bottlePrefab"},
			"45":{name:"大血瓶",hp:400,prefab:"bottle2Prefab"},
			
			"51":{name:"攻击宝石",attack:2,prefab:"dimonAPrefab"},
			"52":{name:"防御宝石",defends:2,prefab:"dimonDPrefab"},
			"53":{name:"攻击宝石",attack:4,prefab:"dimonAPrefab"},
			"54":{name:"防御宝石",defends:4,prefab:"dimonDPrefab"},
			"55":{name:"攻击宝石",attack:8,prefab:"dimonAPrefab"},
			"56":{name:"防御宝石",defends:8,prefab:"dimonDPrefab"},
			
			
			"60":{name:"千年冰",iceAble:1,prefab:"icePrefab"},
			"70":{name:"十字架",tenAble:1,prefab:"tenPrefab"},
			"80":{name:"降魔刀",godAble:1,prefab:"godPrefab"},
			"90":{name:"金币",gold:1,prefab:"goldPrefab"},
			
			"100":{name:"飞机",flyAble:1,prefab:"flyPrefab"},
			"101":{name:"飞机对称",flyTNmb:3,prefab:"flyTPrefab"},
			"102":{name:"飞机向上",flyUNmb:1,prefab:"flyUPrefab"},
			"103":{name:"飞机向下",flyDNmb:1,prefab:"flyDPrefab"},
			"104":{name:"炸弹",boomNmb:1,prefab:"boomItemPrefab"},
		};
		
		this.chapterConfig = [
		
		/*
			
			0-10  绿门1 蓝门3 黄门34
		
		*/
		{	
			"map":"map1/L0",
			"npc":[{x:28,y:23,t:0},{x:29,y:23,t:0},
					{x:28,y:28,t:0},{x:29,y:28,t:0},
					{x:21,y:25,t:1},{x:22,y:25,t:1},
					],
			"door":[{x:22,y:23,t:0},{x:21,y:27,t:0},{x:27,y:22,t:0}],
			"item":[
						{x:28,y:26,t:51},{x:22,y:26,t:52},
						{x:22,y:21,t:100},
						{x:25,y:27,t:32},
						{x:24,y:21,t:30},{x:25,y:21,t:30},{x:26,y:21,t:30},
						//{x:25,y:24,t:101},{x:24,y:24,t:102},{x:26,y:24,t:103},{x:24,y:25,t:104},
					],
			"upAndDown":[{x:21,y:21,dir:1}],
			"npcHelper":[
							{x:25,y:23,t:0,message:"太子在8楼快去救他"},
							{x:26,y:22,t:0,message:"对应颜色的钥匙才能打开对应的门"},
							{x:29,y:25,t:0,message:"红宝石加攻击，蓝宝石加防御"},
							{x:25,y:29,t:0,message:"只有拿到千年冰才能进入岩浆"},
							{x:29,y:21,t:0,message:"轮流攻击，公平有序"},
							{x:22,y:22,t:0,message:"魔杖可以快速切换到过的楼层，点击使用"},
						],
			"flytarget":{x:25,y:25},
		},
		
		{	
			"map":"map1/L1",
			"npc":[
					{x:24,y:21,t:0},{x:25,y:21,t:0},{x:26,y:21,t:0},{x:21,y:27,t:0},{x:21,y:28,t:0},
					{x:29,y:23,t:1},{x:29,y:24,t:1},
					{x:29,y:28,t:2},{x:25,y:24,t:2},{x:23,y:24,t:2},
			],
			"door":[{x:23,y:25,t:0},{x:25,y:25,t:0},{x:29,y:27,t:0}],
			"item":[
						{x:21,y:23,t:51},{x:22,y:23,t:30},{x:23,y:23,t:40},
						{x:27,y:23,t:52},{x:25,y:23,t:30},{x:26,y:23,t:40},
						{x:29,y:21,t:30},
						{x:26,y:28,t:30},{x:27,y:28,t:30},{x:28,y:28,t:30},{x:26,y:29,t:30},{x:27,y:29,t:30},{x:28,y:29,t:30},{x:29,y:29,t:31}
					],
			"upAndDown":[{x:21,y:21,dir:-1},{x:21,y:29,dir:1}],
			"npcHelper":[
						{x:29,y:26,t:0,message:"请注意节约钥匙"},
					],
			"flytarget":{x:22,y:21},
		},
		
		{	
			"map":"map1/L2",
			"npc":[
						{x:24,y:29,t:0},{x:25,y:29,t:0},{x:26,y:29,t:0},
						{x:25,y:24,t:1},{x:25,y:25,t:1},{x:25,y:26,t:1},
						{x:23,y:23,t:2},{x:23,y:27,t:3},{x:27,y:23,t:2},{x:27,y:27,t:2}
				],
			"door":[{x:24,y:27,t:0},{x:24,y:23,t:0},{x:26,y:23,t:0},{x:26,y:27,t:0}],
			"item":[
						{x:21,y:21,t:51},{x:22,y:21,t:40},
						{x:29,y:21,t:52},{x:28,y:21,t:40},
						{x:21,y:25,t:31},{x:22,y:25,t:30},{x:23,y:25,t:40},
						{x:27,y:25,t:30},{x:28,y:25,t:30},{x:29,y:25,t:30},
					],
			"upAndDown":[{x:21,y:29,dir:-1},{x:29,y:29,dir:1}],
			"npcHelper":[
							{x:25,y:28,t:0,message:"我听说6楼有把铁剑"},
						],
			"flytarget":{x:22,y:29},
		},
		
		{	
			"map":"map1/L3",
			"npc":[	{x:24,y:25,t:2},
					{x:23,y:23,t:1},{x:27,y:22,t:1},
					{x:23,y:27,t:0},{x:25,y:27,t:0},
					{x:23,y:29,t:1},{x:25,y:29,t:1},
					],
			"door":[
						{x:23,y:24,t:0},{x:23,y:26,t:0},{x:26,y:22,t:0},{x:25,y:26,t:0},{x:24,y:29,t:0},
					],
			"item":[
					{x:22,y:28,t:51},{x:26,y:28,t:52},
					{x:27,y:27,t:40},{x:27,y:29,t:40},
					{x:21,y:27,t:30},{x:21,y:29,t:30},
					{x:21,y:21,t:40},{x:29,y:21,t:40},
			],
			"upAndDown":[{x:29,y:29,dir:-1},{x:21,y:25,dir:1}],
			"npcHelper":[
							{x:23,y:21,t:0,message:"有时候要优先加攻击"},{x:29,y:23,t:0,message:"这个塔共有30层，每10层划为一个区域"},	
						],
			"flytarget":{x:29,y:28},
		},
		
		{	
			"map":"map1/L4",
			"npc":[{x:23,y:23,t:4},{x:29,y:25,t:2},{x:25,y:23,t:3},{x:23,y:27,t:3},{x:25,y:27,t:0},{x:29,y:28,t:0},{x:29,y:23,t:0},{x:27,y:29,t:0}],
			"door":[{x:23,y:24,t:1},{x:23,y:26,t:0},{x:25,y:24,t:0},{x:25,y:26,t:0},{x:28,y:29,t:0},{x:28,y:21,t:0}],
			"item":[
						{x:21,y:21,t:32},{x:27,y:21,t:51},{x:21,y:29,t:52},
							{x:25,y:29,t:40},{x:26,y:28,t:30},{x:27,y:27,t:40}
					],
			"upAndDown":[{x:21,y:25,dir:-1},{x:29,y:29,dir:1},{x:29,y:21,dir:1}],
			"npcHelper":[
				{x:23,y:21,t:0,message:"黄金骷髅只是镀金"},{x:25,y:21,t:0,message:"骷髅战士身前也是大内高手"},{x:23,y:29,t:0,message:"这个塔里的老头很喜欢说废话"},
			],
			"flytarget":{x:22,y:25},
		},
		
		{	
			"map":"map1/L5",
			"npc":[
						{x:25,y:21,t:2},{x:25,y:29,t:2},
						{x:24,y:23,t:0},{x:26,y:23,t:0},{x:24,y:27,t:0},{x:26,y:27,t:0},
						{x:24,y:24,t:1},{x:24,y:26,t:1},{x:26,y:24,t:0},{x:26,y:26,t:0},
					],
			"door":[
						{x:24,y:22,t:1},{x:26,y:22,t:0},{x:24,y:28,t:0},{x:26,y:28,t:0},
						{x:24,y:25,t:0},{x:26,y:25,t:0},{x:25,y:24,t:0},{x:25,y:26,t:0}
					],
			"item":[
				{x:21,y:27,t:51},{x:29,y:23,t:52}
				,{x:21,y:26,t:40},{x:29,y:24,t:40}
				,{x:21,y:23,t:30},{x:21,y:24,t:30}
				,{x:29,y:26,t:30},{x:29,y:27,t:30}
			],
			"upAndDown":[{x:29,y:29,dir:-1},{x:29,y:21,dir:-1},{x:21,y:29,dir:1},{x:21,y:21,dir:1}],
			"npcHelper":[
				{x:22,y:23,t:0,message:"塔里总共有11个商人"},
			],
			"flytarget":{x:28,y:21},
		},
		
		{	
			"map":"map1/L6",
			"npc":[
						{x:24,y:23,t:1},
						{x:28,y:21,t:3},{x:28,y:23,t:3},{x:27,y:22,t:3},{x:29,y:22,t:3},
						{x:27,y:26,t:0},{x:28,y:26,t:0},
						{x:25,y:28,t:3},
					],
			"door":[
						{x:24,y:24,t:1},{x:25,y:27,t:0},{x:26,y:26,t:0},{x:28,y:27,t:0}
					],
			"item":[
						{x:24,y:22,t:10},
						{x:28,y:22,t:101},
						{x:28,y:28,t:30},{x:28,y:29,t:30},{x:29,y:28,t:30},{x:29,y:29,t:31},
						{x:23,y:29,t:41},
					],
			"upAndDown":[{x:21,y:29,dir:-1},{x:21,y:21,dir:-1},{x:26,y:29,dir:1}],
			"npcHelper":[
					{x:29,y:25,t:0,message:"注意蓝钥匙和蓝门的数量是一样的"},
					{x:25,y:25,t:1,message:"看完这个广告获得黄钥匙3把",t2:2,liveAble:1},
					{x:29,y:21,t:0,message:"这个道具可以把你传送到对称的格子，善用它"},
			],
			"flytarget":{x:21,y:22},
		},
		
		{	
			"map":"map1/L7",
			"npc":[{x:21,y:27,t:1},{x:29,y:27,t:1}],
			"door":[
						{x:21,y:26,t:0},{x:29,y:26,t:0},{x:25,y:26,t:0},
						{x:22,y:24,t:0},{x:25,y:24,t:0},{x:28,y:24,t:0}
					],
			"item":[{x:22,y:29,t:40},{x:28,y:29,t:40}],
			"upAndDown":[{x:26,y:29,dir:-1},{x:24,y:27,dir:1}],
			"npcHelper":[
			
				{x:22,y:22,t:2,message:"花费$增加200点生命值",liveAble:1,t2:3,buyKey:"hp",buyValue:"200"},
				{x:25,y:22,t:2,message:"花费$增加5点攻击力",liveAble:1,t2:3,buyKey:"attack",buyValue:"5"},
				{x:28,y:22,t:2,message:"花费$增加5点防御力",liveAble:1,t2:3,buyKey:"defends",buyValue:"5"},
				{x:26,y:27,t:0,message:"上面三个奸商分别贩卖:血量 攻击 防御"},
			],
			"flytarget":{x:25,y:28},
		},
		
		{	
			"map":"map1/L8",
			"npc":[
						{x:25,y:24,t:5},
						{x:28,y:27,t:1},{x:29,y:27,t:1},{x:28,y:28,t:1},{x:29,y:28,t:1},
					],
			"door":[{x:25,y:26,t:2}],
			"item":[
						{x:21,y:23,t:51},{x:21,y:24,t:51},{x:21,y:25,t:51},
						{x:22,y:23,t:52},{x:22,y:24,t:52},{x:22,y:25,t:52},
						{x:28,y:23,t:30},{x:28,y:24,t:30},{x:28,y:25,t:30},
						{x:29,y:23,t:41},{x:29,y:24,t:41},{x:29,y:25,t:41},
						
						{x:21,y:27,t:30},{x:22,y:27,t:30},{x:21,y:28,t:30},{x:22,y:28,t:30},
					],
			"upAndDown":[{x:24,y:27,dir:-1},{x:26,y:29,dir:1},{x:21,y:29,dir:1},{x:29,y:29,dir:1},{x:25,y:21,dir:1}],
			"npcHelper":[{x:25,y:22,t:4,message:"我是太子,皇上在18楼"},{x:26,y:27,t:0,message:"太子是个白痴"},],
			"flytarget":{x:25,y:28},
		},
		
		{	
			"map":"map1/L9",
			"npc":[
						{x:25,y:24,t:3},
						{x:21,y:28,t:3},{x:29,y:28,t:3},
						{x:21,y:22,t:3},{x:22,y:22,t:3},{x:28,y:22,t:3},{x:29,y:22,t:3},
						{x:24,y:26,t:2},{x:25,y:26,t:2},{x:26,y:26,t:2},
					],
			"door":[{x:25,y:25,t:0},{x:21,y:27,t:0},{x:25,y:27,t:0},{x:29,y:27,t:0}],
			"item":[
				{x:21,y:24,t:51},{x:29,y:24,t:52},
				{x:22,y:24,t:30},{x:28,y:24,t:30},
			],
			"upAndDown":[{x:26,y:29,dir:-1},{x:21,y:29,dir:-1},{x:29,y:29,dir:-1},{x:22,y:21,dir:1},{x:28,y:21,dir:1},{x:24,y:24,dir:1},{x:26,y:24,dir:1},{x:25,y:21,dir:-1},{x:26,y:22,dir:1}],
			"npcHelper":[
				{x:24,y:28,t:0,message:"能到这里的人都不一般"},
			],
			"flytarget":{x:25,y:28},
		},
		
		{	
			"map":"map1/L10",
			"npc":[	
						{x:29,y:27,t:4},
						{x:21,y:22,t:2},{x:29,y:22,t:2},
						{x:21,y:24,t:2},{x:22,y:24,t:2},{x:21,y:25,t:2},{x:22,y:25,t:2},
						{x:28,y:24,t:2},{x:29,y:24,t:2},{x:28,y:25,t:2},{x:29,y:25,t:2},
					],
			"door":[{x:21,y:23,t:0},{x:21,y:26,t:0},{x:29,y:23,t:0},{x:29,y:26,t:1}],
			"item":[{x:27,y:28,t:20}],
			"upAndDown":[{x:22,y:21,dir:-1},{x:28,y:21,dir:-1},{x:24,y:24,dir:-1},{x:26,y:24,dir:-1},{x:26,y:22,dir:-1},{x:24,y:21,dir:1}],
			"npcHelper":[
				{x:24,y:27,t:0,message:"如果你看到了这条,说明你离通关不远了,加油"},
			],
			"flytarget":{x:24,y:25},
		},
		
		/*
			11-20  绿门1 蓝门4 黄门5+8+2+3+0+0+4+0+1+3 = 26
		*/
		{	
			"map":"map1/L11",
			
			"npc":[
					{x:21,y:22,t:7},{x:22,y:22,t:7},
					{x:25,y:24,t:6},{x:21,y:25,t:7},{x:21,y:27,t:6}
					,{x:24,y:29,t:8},{x:28,y:29,t:8}
				],
			"door":[{x:25,y:23,t:0},{x:21,y:24,t:0},{x:21,y:26,t:0},{x:23,y:29,t:0},{x:27,y:29,t:0}],
			"item":[
						{x:25,y:28,t:53},{x:29,y:27,t:54},{x:29,y:21,t:104},
						{x:24,y:25,t:30},{x:25,y:25,t:30},{x:26,y:25,t:30},
						{x:21,y:29,t:42},
						{x:24,y:27,t:42},{x:26,y:27,t:30},{x:28,y:27,t:42},
					],
			"upAndDown":[{x:24,y:21,dir:-1},{x:21,y:21,dir:1}],
			"npcHelper":[
					{x:26,y:22,t:0,message:"11-20层的怪物害怕十字架"},
					{x:22,y:27,t:0,message:"十字架在20层"},
					{x:28,y:21,t:0,message:"TNT秒天秒地秒空气,除了大魔王"},
			],
			"flytarget":{x:25,y:21},
		},
		
		{	
			"map":"map1/L12",
			"npc":[
						{x:21,y:24,t:6},{x:21,y:28,t:8},
						{x:25,y:24,t:7},{x:25,y:26,t:7},{x:24,y:25,t:7},{x:26,y:25,t:7},
						{x:25,y:22,t:7},{x:25,y:28,t:8},
						{x:29,y:22,t:8},{x:29,y:28,t:8},
						{x:28,y:25,t:7},{x:29,y:25,t:7},
					],
			"door":[
						{x:21,y:23,t:0},{x:25,y:23,t:0},{x:29,y:23,t:0},
						{x:23,y:25,t:0},{x:27,y:25,t:0},
						{x:21,y:27,t:0},{x:25,y:27,t:0},{x:29,y:27,t:0},
					],
			"item":[{x:24,y:21,t:53},{x:26,y:29,t:54},
					{x:24,y:24,t:30},{x:26,y:24,t:30},{x:24,y:26,t:30},{x:25,y:25,t:42},
					{x:24,y:29,t:42},
					],
			"upAndDown":[
							{x:21,y:21,dir:-1},
							{x:26,y:26,dir:1},{x:26,y:28,dir:1},{x:28,y:26,dir:1},{x:28,y:28,dir:1},
							{x:22,y:29,dir:1},{x:26,y:21,dir:1},{x:28,y:21,dir:1}
						],
			"npcHelper":[
				{x:22,y:26,t:0,message:"添狗战士只是拿了刀的添狗"},
			],
			"flytarget":{x:22,y:21},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		{	
			"map":"map1/L13",
			"npc":[
						{x:22,y:23,t:9},{x:22,y:26,t:8}
						,{x:25,y:22,t:7},{x:26,y:22,t:7},{x:28,y:22,t:7},{x:29,y:22,t:7}
						,{x:25,y:26,t:8},{x:26,y:25,t:8}
						,{x:28,y:25,t:8},{x:29,y:26,t:8}
						,{x:25,y:28,t:8},{x:26,y:29,t:8}
						,{x:29,y:28,t:8},{x:28,y:29,t:8}
					],
			"door":[{x:22,y:27,t:0},{x:22,y:24,t:1},],
			"item":[
						{x:22,y:22,t:22},{x:25,y:25,t:54},{x:29,y:25,t:53},{x:25,y:29,t:31},
						{x:23,y:25,t:42},{x:23,y:21,t:43},
						{x:25,y:23,t:30},{x:28,y:23,t:42},
						{x:26,y:23,t:30},{x:29,y:23,t:42},
						{x:22,y:21,t:31},
					],
			"upAndDown":[
							{x:26,y:26,dir:-1},{x:26,y:28,dir:-1},{x:28,y:26,dir:-1},{x:28,y:28,dir:-1},
							{x:29,y:29,dir:1},
							{x:21,y:21,dir:1},{x:25,y:21,dir:1},{x:29,y:21,dir:1},{x:21,y:29,dir:1},
							{x:22,y:29,dir:-1},{x:26,y:21,dir:-1},{x:28,y:21,dir:-1}
						],
			"npcHelper":[
				{x:23,y:28,t:0,message:"听说30层有一只很大的龙"},
			],
			"flytarget":{x:23,y:29},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		{	
			"map":"map1/L14",
			"npc":[
						{x:21,y:22,t:7},{x:22,y:22,t:7},
						{x:21,y:25,t:8},{x:29,y:24,t:8},{x:25,y:25,t:9},
						{x:22,y:29,t:7},{x:22,y:28,t:7},
						{x:25,y:29,t:10},
					],
			"door":[{x:25,y:23,t:0},{x:29,y:23,t:0},{x:21,y:24,t:0},{x:24,y:29,t:1},],
			"item":[
						{x:22,y:26,t:53},{x:28,y:26,t:54},{x:26,y:28,t:32},
						{x:21,y:26,t:42},{x:22,y:25,t:30},
						{x:29,y:26,t:42},{x:28,y:25,t:30},
					],
			"upAndDown":[
							{x:24,y:24,dir:1},{x:24,y:26,dir:1},{x:26,y:24,dir:1},{x:26,y:26,dir:1},
							{x:29,y:29,dir:-1},
							{x:21,y:21,dir:-1},{x:25,y:21,dir:-1},{x:29,y:21,dir:-1},{x:21,y:29,dir:-1},
						],
			"npcHelper":[{x:26,y:21,t:0,message:"你每购买一次增益,价格就会翻倍"},],
			"flytarget":{x:25,y:22},
		},
		
		{	
			"map":"map1/L15",
			"npc":[
						{x:21,y:21,t:10},{x:23,y:21,t:8},{x:27,y:21,t:9},{x:29,y:21,t:10},
						{x:21,y:29,t:10},{x:23,y:29,t:8},{x:27,y:29,t:9},{x:29,y:29,t:10},
						{x:21,y:23,t:7},{x:21,y:27,t:6},{x:29,y:23,t:7},{x:29,y:27,t:6},
					],
			"door":[],
			"item":[
						{x:21,y:25,t:53},{x:29,y:25,t:54},
						{x:21,y:22,t:30},{x:22,y:21,t:42},
						{x:21,y:28,t:30},{x:22,y:29,t:42},
						{x:28,y:21,t:30},{x:29,y:22,t:42},
						{x:28,y:29,t:31},{x:29,y:28,t:42},
					],
			"upAndDown":[
							{x:24,y:24,dir:-1},{x:24,y:26,dir:-1},{x:26,y:24,dir:-1},{x:26,y:26,dir:-1},
							{x:23,y:23,dir:1},{x:23,y:27,dir:1},{x:27,y:23,dir:1},{x:27,y:27,dir:1}
						],
			"npcHelper":[],
			"flytarget":{x:25,y:21},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		{	
			"map":"map1/L16",
			"npc":[
						{x:24,y:28,t:8},{x:26,y:28,t:8}
						,{x:22,y:21,t:7},{x:21,y:22,t:7},{x:22,y:22,t:7}
						,{x:28,y:26,t:8},{x:28,y:27,t:9},{x:29,y:27,t:8}
						,{x:28,y:24,t:6}
					],
			"door":[],
			"item":[
						{x:24,y:29,t:53},{x:26,y:29,t:54},{x:29,y:26,t:31},{x:29,y:24,t:30},
						{x:21,y:29,t:43},
					],
			"upAndDown":[{x:21,y:21,dir:1},{x:23,y:23,dir:-1},{x:23,y:27,dir:-1},{x:27,y:23,dir:-1},{x:27,y:27,dir:-1}],
			"npcHelper":[
				{x:24,y:21,t:0,message:"救命啊我弟弟被岩浆包围了"},
				{x:29,y:21,t:0,message:"我记得我有一句很重要的话要说的,但..."},
			],
			"flytarget":{x:27,y:26},
		},
		
		{	
			"map":"map1/L17",
			"npc":[{x:25,y:21,t:6},{x:25,y:25,t:6},{x:21,y:25,t:6},{x:29,y:25,t:6}],
			"door":[{x:23,y:24,t:0},{x:27,y:24,t:0},{x:23,y:26,t:0},{x:27,y:26,t:0}],
			"item":[],
			"upAndDown":[{x:21,y:21,dir:-1},{x:25,y:29,dir:1}],
			"npcHelper":[
				{x:23,y:23,t:2,message:"黄钥匙$一把,预购从速",liveAble:1,t2:3,buyKey:"keyNmbY",buyValue:"1"},
				{x:27,y:23,t:2,message:"花费$增加10点攻击力",liveAble:1,t2:3,buyKey:"attack",buyValue:"10"},
				{x:23,y:27,t:2,message:"花费$增加10点防御力",liveAble:1,t2:3,buyKey:"defends",buyValue:"10"},
				{x:27,y:27,t:2,message:"花费$增加400点血量",liveAble:1,t2:3,buyKey:"hp",buyValue:"400"},
				
				{x:29,y:21,t:0,message:"如果我是你，就不会在低楼层的商人身上浪费太多"},
			],
			"flytarget":{x:22,y:21},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		{	
			"map":"map1/L18",
			"npc":[{x:25,y:24,t:11}],
			"door":[{x:25,y:25,t:2},{x:23,y:22,t:1}],
			"item":[
						{x:21,y:21,t:103},
						{x:21,y:26,t:53},{x:22,y:26,t:53},{x:23,y:26,t:53},
						{x:21,y:27,t:54},{x:22,y:27,t:54},{x:23,y:27,t:54},
						
						{x:27,y:26,t:43},{x:28,y:26,t:43},{x:29,y:26,t:43},
						{x:27,y:27,t:30},{x:28,y:27,t:30},{x:29,y:27,t:30},
					],
			"upAndDown":[{x:25,y:29,dir:-1},{x:21,y:29,dir:1},{x:29,y:29,dir:1},{x:29,y:21,dir:1}],
			"npcHelper":[{x:27,y:22,t:3,message:"我是皇上,太上皇在25楼"},
						{x:25,y:26,t:0,message:"没人比皇上更懂魔塔"},
						{x:22,y:22,t:0,message:"这个道具可飞下一层,听说还有一个向上的"},],
			"flytarget":{x:25,y:28},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		{	
			"map":"map1/L19",
			"npc":[
						{x:24,y:27,t:9},{x:26,y:24,t:7},{x:26,y:29,t:7},{x:28,y:26,t:6},{x:23,y:29,t:7},
						{x:23,y:21,t:16},{x:23,y:23,t:16},{x:22,y:22,t:16},{x:24,y:22,t:16}
					],
			"door":[{x:24,y:28,t:1},{x:27,y:26,t:0}],
			"item":[
						{x:22,y:26,t:12},{x:24,y:25,t:43},{x:29,y:26,t:30},{x:29,y:27,t:42},{x:26,y:21,t:30},
						{x:23,y:22,t:32},
						{x:24,y:21,t:45},{x:24,y:23,t:45}
					],
			"upAndDown":[{x:21,y:29,dir:-1},{x:29,y:29,dir:-1},{x:29,y:21,dir:-1},{x:28,y:22,dir:1},{x:29,y:24,dir:1}],
			"npcHelper":[
							{x:21,y:25,t:0,message:"听说塔里最强的剑被龙守着"},{x:21,y:23,t:0,message:"我听说22层很冷!"},
						],
			"flytarget":{x:28,y:29},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		
		{	
			"map":"map1/L20",
			"npc":[
						{x:27,y:24,t:7},{x:28,y:24,t:7},{x:27,y:25,t:7},{x:28,y:25,t:7},
						{x:24,y:23,t:8},{x:24,y:25,t:8},{x:25,y:24,t:8},{x:23,y:24,t:8}
						,{x:27,y:28,t:10},{x:23,y:28,t:8}
						,{x:21,y:25,t:7},{x:21,y:26,t:7},{x:21,y:27,t:7}
						,{x:22,y:21,t:7}
					],
			"door":[{x:22,y:24,t:0},{x:22,y:28,t:0},{x:26,y:28,t:1},{x:26,y:25,t:0}],
			"item":[
						{x:28,y:28,t:70},{x:24,y:24,t:53},{x:24,y:28,t:54}
						,{x:29,y:28,t:31}
						,{x:26,y:21,t:44}
						,{x:23,y:23,t:30},{x:25,y:23,t:30},{x:23,y:25,t:30},{x:25,y:25,t:30}
						,{x:25,y:27,t:42},{x:25,y:29,t:42}
					],
			"upAndDown":[{x:29,y:21,dir:1},{x:28,y:22,dir:-1},{x:29,y:24,dir:-1}],
			"npcHelper":[{x:29,y:27,t:0,message:"道具有两种，主动和被动"},],
			"flytarget":{x:29,y:25},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		/*
			20-30 绿门3 蓝门1 黄门5+5+6+6+5 = 27
		*/
		
		{	
			"map":"map1/L21",
			"npc":[],
			"door":[],
			"item":[],
			"upAndDown":[{x:29,y:21,dir:-1}],
			"npcHelper":[{x:25,y:25,t:0,message:"21层以上的楼被施了魔法,无法直接到达"}],
			"flytarget":{x:28,y:21},
			"naruto":[
						{x:23,y:23,target:6,targetx:27,targety:21},
						{x:27,y:23,target:19,targetx:21,targety:21},
						{x:23,y:27,target:25,targetx:25,targety:29},
						{x:27,y:27,target:30,targetx:25,targety:29}
					]
		},
		
		{	
			"map":"map1/L22",
			"npc":[
					{x:28,y:21,t:13},{x:28,y:23,t:13},{x:27,y:22,t:13},{x:29,y:22,t:13},
					{x:22,y:27,t:14},{x:22,y:29,t:14},{x:21,y:28,t:14},{x:23,y:28,t:14}
				],
			"door":[],
			"item":[
						{x:28,y:22,t:60},{x:22,y:28,t:102},
						{x:29,y:21,t:30},{x:29,y:23,t:44},{x:27,y:23,t:44},
						{x:23,y:27,t:30},{x:23,y:29,t:44},{x:21,y:29,t:44},
					],
			"upAndDown":[{x:25,y:24,dir:1}],
			"npcHelper":[{x:24,y:24,t:0,message:"你知道什么叫不撞南墙不回头吗"}],
			"flytarget":{x:25,y:25},
			"naruto":[
						{x:21,y:21,target:22,targetx:24,targety:22},{x:22,y:22,target:15,targetx:25,targety:21},
						{x:24,y:21,target:22,targetx:22,targety:24},{x:25,y:22,target:15,targetx:25,targety:21},
						{x:21,y:24,target:22,targetx:27,targety:21},{x:22,y:25,target:15,targetx:25,targety:21},
						{x:24,y:26,target:22,targetx:22,targety:21},{x:26,y:26,target:22,targetx:29,targety:25},
						{x:28,y:25,target:15,targetx:25,targety:29},{x:29,y:26,target:22,targetx:26,targety:28},
						{x:25,y:28,target:15,targetx:25,targety:29},{x:26,y:29,target:22,targetx:29,targety:28},
						{x:28,y:28,target:1,targetx:23,targety:29},{x:29,y:29,target:22,targetx:21,targety:27},
					]
		},
		
		//
		{	
			"map":"map1/L27",
			"npc":[{x:25,y:21,t:13},{x:25,y:29,t:13},{x:21,y:25,t:13},{x:29,y:25,t:13}],
			"door":[
						{x:23,y:24,t:0},{x:27,y:24,t:0},{x:23,y:26,t:0},{x:27,y:26,t:0}
					],
			"item":[],
			"upAndDown":[{x:25,y:24,dir:-1},{x:29,y:29,dir:1}],
			"npcHelper":[
					
				{x:23,y:23,t:2,message:"蓝钥匙$一把,预购从速",liveAble:1,t2:3,buyKey:"keyNmb",buyValue:"1"},
				{x:27,y:23,t:2,message:"花费$增加20点攻击力",liveAble:1,t2:3,buyKey:"attack",buyValue:"20"},
				{x:23,y:27,t:2,message:"花费$增加20点防御力",liveAble:1,t2:3,buyKey:"defends",buyValue:"20"},
				{x:27,y:27,t:2,message:"花费$增加800点血量",liveAble:1,t2:3,buyKey:"hp",buyValue:"800"},
				
				{x:25,y:25,t:0,message:"买它"},
			],
			"flytarget":{x:21,y:28},
		},
		
		{	
			"map":"map1/L24",
			"npc":[
					{x:21,y:24,t:12},{x:25,y:24,t:13},
					{x:29,y:24,t:12},{x:26,y:29,t:13}
					,{x:21,y:22,t:14},{x:29,y:22,t:14}
					,{x:27,y:27,t:16}
					,{x:22,y:27,t:15},{x:22,y:29,t:15},{x:21,y:28,t:15},{x:23,y:28,t:15}
					],
			"door":[{x:21,y:23,t:0},{x:25,y:23,t:0},{x:29,y:23,t:0},{x:21,y:25,t:0},{x:26,y:27,t:1}],
			"item":[
						{x:22,y:21,t:55}
						,{x:28,y:21,t:56}
						,{x:29,y:26,t:32}
						,{x:22,y:28,t:31}
						
						,{x:21,y:21,t:30},{x:29,y:21,t:30}
						,{x:21,y:29,t:44},{x:23,y:29,t:44}
						
						,{x:29,y:27,t:45}
					],
			"upAndDown":[{x:29,y:29,dir:-1}],
			"npcHelper":[
				{x:26,y:22,t:0,message:"其实塔里的老头都是一品大员"},
			],
			"flytarget":{x:25,y:21},
		},
		
		{	
			"map":"map1/L25",
			"npc":[{x:25,y:22,t:19}],
			"door":[{x:25,y:27,t:2}],
			"item":[],
			"upAndDown":[],
			"npcHelper":[{x:25,y:21,t:5,message:"我是太上皇，感谢你对朝廷做出的贡献",t2:1},{x:25,y:28,t:0,message:"大魔王的克星被两个石头人看着"},],
			"flytarget":{x:25,y:29},
		},
		
		{	
			"map":"map1/L26",
			"npc":[
						{x:27,y:26,t:16},{x:23,y:23,t:16},{x:23,y:27,t:14},{x:26,y:27,t:15}
						,{x:28,y:23,t:13}
						,{x:23,y:21,t:14},{x:27,y:21,t:12}
						,{x:21,y:23,t:15},{x:21,y:25,t:13},{x:21,y:27,t:12}
						,{x:29,y:26,t:13},{x:29,y:28,t:15}
						,{x:23,y:29,t:12},{x:26,y:29,t:13}
						,{x:29,y:24,t:14}
					],
			"door":[{x:26,y:25,t:1}],
			"item":[
						{x:25,y:25,t:21},{x:21,y:21,t:55},{x:29,y:29,t:56}
						,{x:25,y:21,t:44},{x:25,y:23,t:44},{x:25,y:27,t:45},{x:25,y:29,t:44}
						,{x:21,y:24,t:30},{x:21,y:26,t:44},{x:29,y:25,t:44},{x:29,y:27,t:30}
					],
			"upAndDown":[{x:21,y:29,dir:1}],
			"npcHelper":[
				{x:29,y:22,t:0,message:"你猜为什么蓝门边上有个格子是空的"},
			],
			"flytarget":{x:29,y:21},
		},
		
		{	
			"map":"map1/L23",
			"npc":[
					{x:22,y:22,t:14},{x:22,y:24,t:15},{x:22,y:26,t:14},{x:22,y:28,t:15},
					{x:24,y:21,t:14},{x:26,y:21,t:15},
					{x:27,y:25,t:14},{x:29,y:25,t:14},
					{x:26,y:26,t:15},{x:26,y:28,t:15},
					{x:24,y:29,t:12},{x:26,y:29,t:12},
				],
			"door":[{x:28,y:25,t:0},{x:25,y:21,t:0},{x:22,y:23,t:0},{x:22,y:27,t:0},{x:25,y:29,t:0},{x:26,y:27,t:0}],
			"item":[
						{x:21,y:21,t:55},{x:29,y:21,t:56},
						{x:22,y:25,t:44},{x:26,y:25,t:45},
						{x:24,y:28,t:30},
						{x:28,y:21,t:30},{x:28,y:22,t:30},{x:29,y:22,t:30},
					],
			"upAndDown":[{x:21,y:29,dir:-1},{x:29,y:29,dir:1}],
			"npcHelper":[
				{x:25,y:24,t:0,message:"注意节约用血"},
			],
			"flytarget":{x:29,y:28},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		{	
			"map":"map1/L28",
			"npc":[
					{x:21,y:24,t:16},{x:23,y:23,t:15},{x:27,y:23,t:15},{x:29,y:23,t:14},
					{x:21,y:27,t:14},{x:25,y:27,t:15},{x:27,y:27,t:14},
					{x:22,y:25,t:12},{x:26,y:25,t:12},
				],
			"door":[
						{x:23,y:24,t:0},{x:27,y:24,t:0},{x:29,y:24,t:0},
						{x:21,y:26,t:0},{x:25,y:26,t:0},{x:27,y:26,t:0}
					],
			"item":[
						{x:25,y:21,t:55},{x:23,y:29,t:56},
						{x:27,y:28,t:44},{x:27,y:29,t:44},{x:29,y:21,t:45},{x:29,y:22,t:45}
						,{x:21,y:21,t:31}
						,{x:24,y:21,t:30},{x:26,y:21,t:30}
						,{x:22,y:29,t:30},{x:24,y:29,t:30}
					],
			"upAndDown":[{x:29,y:29,dir:-1},{x:25,y:29,dir:1}],
			"npcHelper":[],
			"flytarget":{x:29,y:28},
		},
		
		{	
			"map":"map1/L29",
			"npc":[
					{x:22,y:24,t:15},{x:28,y:24,t:15},{x:24,y:24,t:17},{x:26,y:24,t:17},
					{x:21,y:28,t:14},{x:29,y:28,t:14},
					{x:23,y:26,t:12},{x:27,y:26,t:12},
					{x:21,y:22,t:12},{x:29,y:22,t:12},
				],
			"door":[
						{x:22,y:25,t:0},{x:25,y:25,t:2},{x:28,y:25,t:0},
						{x:21,y:27,t:0},{x:25,y:27,t:0},{x:29,y:27,t:0}
					],
			"item":[
					{x:22,y:21,t:55},{x:28,y:21,t:56},
					{x:21,y:21,t:30},{x:29,y:21,t:30},
					{x:21,y:29,t:30},{x:22,y:29,t:44},
					{x:29,y:29,t:30},{x:28,y:29,t:44},
					{x:25,y:21,t:80},
					{x:24,y:21,t:45},{x:26,y:21,t:45}
					],
			"upAndDown":[{x:25,y:29,dir:-1}],
			"npcHelper":[
				{x:25,y:26,t:0,message:"石头人的攻防都很高，但是血量很少"},
			],
			"flytarget":{x:25,y:28},
			//"naruto":[{x:25,y:24,target:15,targetx:25,targety:21}]
		},
		
		{	
			"map":"map1/L30",
			"npc":[{x:25,y:25,t:18}],
			"door":[{x:25,y:27,t:2}],
			"item":[
						{x:21,y:21,t:90,value:10},{x:22,y:21,t:90,value:10},{x:23,y:21,t:90,value:10},{x:24,y:21,t:90,value:10},{x:25,y:21,t:90,value:10},{x:26,y:21,t:90,value:10},{x:27,y:21,t:90,value:10},{x:28,y:21,t:90,value:10},{x:29,y:21,t:90,value:10},
						{x:21,y:22,t:90,value:10},{x:22,y:22,t:90,value:10},{x:23,y:22,t:90,value:10},{x:24,y:22,t:90,value:10},{x:25,y:22,t:90,value:10},{x:26,y:22,t:90,value:10},{x:27,y:22,t:90,value:10},{x:28,y:22,t:90,value:10},{x:29,y:22,t:90,value:10},
						{x:21,y:23,t:90,value:10},{x:22,y:23,t:90,value:10},{x:23,y:23,t:90,value:10},{x:24,y:23,t:90,value:10},{x:25,y:23,t:90,value:10},{x:26,y:23,t:90,value:10},{x:27,y:23,t:90,value:10},{x:28,y:23,t:90,value:10},{x:29,y:23,t:90,value:10},
						{x:21,y:24,t:90,value:10},{x:22,y:24,t:90,value:10},{x:23,y:24,t:90,value:10},{x:24,y:24,t:90,value:10},{x:25,y:24,t:11},{x:26,y:24,t:90,value:10},{x:27,y:24,t:90,value:10},{x:28,y:24,t:90,value:10},{x:29,y:24,t:90,value:10},
						{x:21,y:25,t:90,value:10},{x:22,y:25,t:90,value:10},{x:23,y:25,t:90,value:10},{x:24,y:25,t:90,value:10},{x:25,y:25,t:90,value:10},{x:26,y:25,t:90,value:10},{x:27,y:25,t:90,value:10},{x:28,y:25,t:90,value:10},{x:29,y:25,t:90,value:10},
						{x:21,y:26,t:90,value:10},{x:22,y:26,t:90,value:10},{x:23,y:26,t:90,value:10},{x:24,y:26,t:90,value:10},{x:25,y:26,t:90,value:10},{x:26,y:26,t:90,value:10},{x:27,y:26,t:90,value:10},{x:28,y:26,t:90,value:10},{x:29,y:26,t:90,value:10},
					],
			"upAndDown":[],
			"npcHelper":[{x:25,y:28,t:0,message:"恭喜你来到最高的一层！"},],
			"flytarget":{x:25,y:29},
		},
		
		
		];
		
	}
   
});
